# coding=utf-8
from card_base import CardBase
from sgs.common.constants import cardType

class WuZhongShengYou(CardBase):
    name = '无中生有'
    def __init__(self, id, color, point):
        CardBase.__init__(self, id, color, point, cardType.NON_DELAY_SKILL)
        
    def action(self, cond, src, args):
        src.removeCard(self.id)
        src.game.dispatchCards(src.deskId, 2)